//
// Created by Administrator on 2021/10/20.
//

#ifndef PARTJOB_C___LINKEDQUEUE_H
#define PARTJOB_C___LINKEDQUEUE_H
#include <cstring>
#include "node.h"
class LinkedQueue
{
public:
    LinkedQueue();
    ~LinkedQueue();

    /****************************************
       Functions you will be implementing:
          push
          pop
          empty
          back
          front
          size

    ****************************************/
    void push(int value);
    void pop();
    bool empty() const;
    int back() const;
    int front() const;
    size_t size() const;
private:
    Node* ptrToFront;
    Node* ptrToBack;
    int count;
};
#endif //PARTJOB_C___LINKEDQUEUE_H
